<div id="view-content">
<!-- Colour Tabbed Block (Full Width) -->
		<div class="block block-colour">
			
			<!-- Block Header -->
			<div class="head">
				<div class="cap-left"></div>
				<div class="cap-right"></div>
				<div class="content">
				
					<!-- Block Title -->
					<h2><?php echo $this->translate->_('Edit device attributes'); ?></h2>
					<!-- /Block Title -->
					
					<!-- Block Action Buttons -->
					<ul class="action-buttons">
<?php if($this->hubid > 0) { ?>    
                                                <li><a href="<?php echo $this->url(array('controller' => 'devices', 'action' => 'belong', 'hubid' => $this->hubid), "default", true) ?>" title="<?php echo $this->translate->_('<< back'); ?>" class="button button-grey"><?php echo $this->translate->_('<< back'); ?></a></li>
<?php } else { ?>
						<li><a href="<?php echo $this->url(array('controller' => 'devices', 'action' => 'index'), "default", true) ?>" title="<?php echo $this->translate->_('<< back to devices'); ?>" class="button button-grey"><?php echo $this->translate->_('<< back to devices'); ?></a></li>
<?php } ?>                                               
					</ul>
					<!-- /Block Action Buttons -->
					
					<!-- Tabs JS -->
					<script type="text/javascript">
					$(function(){
						$('#tabs-two').sTabs();
					});
					</script>
					<!-- /Tabs JS -->
					
					<!-- Block Tabs Menu -->
					<ul class="block-tab-menu" id="tabs-two">
						<li><a href="#tab-list" title=""><?php echo $this->translate->_('List'); ?></a></li>
						<li><a href="#tab-help" title=""><?php echo $this->translate->_('Help'); ?></a></li>
					</ul>
					<!-- /Block Tabs Menu -->
					
				</div>
				<div class="clear-both"></div>
			</div>
			<!-- /Block Header -->
			
			<!-- Block Content -->
			<div class="block-content">
				
				<!-- Tab One -->
				<div id="tab-list">
<?php 
echo $this->deviceType;
echo $this->form;
?>
				</div>
				<!-- /Tab One -->
				
				<!-- Tab Two -->
				<div id="tab-help" style="display: none">

					<!-- Standard Content -->
					<div class="standard-content">
						<h3>Tab Two Content Title</h3>
						<p>
							Lorem ipsum dolor sit amet, consectetur adipisicing elit, <a href="" title="">sed do eiusmod tempor</a> incididunt ut labore et dolore magna aliqua. 
							Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure 
							dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non 
							proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
						</p>
						<ul>
							<li>This is a long bullet point right here</li>
							<li>Bit of a shorter one now</li>
							<li>Then for a bit of a longer one again</li>
						</ul>
						<p>
							Consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. 
							Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure 
							dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
						</p>
					</div>
					<!-- /Standard Content -->

				</div>
				<!-- /Tab Two -->
				
			</div>
			<!-- /Block Content -->
			
			<!-- Block Footer Cap -->
			<div class="block-footer-cap">
				<div class="cap-left"></div>
				<div class="cap-right"></div>
				<div class="content"></div>
			</div>
			<!-- /Block Footer Cap -->
			
		</div>
		<!-- /Colour Tabbed Block (Full Width) -->
</dev>